package com.wuhongyu.common;

import java.util.ArrayList;
import java.util.List;
import java.util.TreeMap;

public class MyCommon {

	//每页的行数
	public static final Integer COUNT = 60;
	//最大页数
	public static final Integer MAX_PAGE = 90;
	//最大总行数
	public static final Integer MAX_TOTAL = 5400;

	public static final String OTHERS = "面议";


	public static final Integer K0 = 3000; //0-3000之间
	public static final Integer K1 = 7000; //3000-7000之间
	public static final Integer K2 = 10000;
	public static final Integer K3 = 15000;
	public static final Integer K4 = 20000;
	public static final Integer K5 = 30000;
	public static final Integer K6 = 50000;//3W-5W之间
	public static final Integer K7 = 50001;//5W以上

	public static List<Integer> kList = new ArrayList<>();

	static {
		kList.add(K0);
		kList.add(K1);
		kList.add(K2);
		kList.add(K3);
		kList.add(K4);
		kList.add(K5);
		kList.add(K6);
		kList.add(K7);
	}


	public static final String H0 = K0+"元/月以下";
	public static final String H1 = K0+"-"+K1+"元/月";
	public static final String H2 = K1+"-"+K2+"元/月";
	public static final String H3 = K2+"-"+K3+"元/月";
	public static final String H4 = K3+"-"+K4+"元/月";
	public static final String H5 = K4+"-"+K5+"元/月";
	public static final String H6 = K5+"-"+K6+"元/月";
	public static final String H7 = K7+"元/月以上";

	public static TreeMap<Integer, String> kMap = new TreeMap<>();
	static {
		kMap.put(K0, H0);
		kMap.put(K1, H1);
		kMap.put(K2, H2);
		kMap.put(K3, H3);
		kMap.put(K4, H4);
		kMap.put(K5, H5);
		kMap.put(K6, H6);
		kMap.put(K7, H7);
	}

	public static TreeMap<String, Integer> hMap = new TreeMap<>();
	static {
		hMap.put(H0, K0);
		hMap.put(H1, K1);
		hMap.put(H2, K2);
		hMap.put(H3, K3);
		hMap.put(H4, K4);
		hMap.put(H5, K5);
		hMap.put(H6, K6);
		hMap.put(H7, K7);
	}






}
